<div class="admin_tree">
  <div class="admin_tree_category">快捷操作</div>
  <ul>
    <li><%= link_to_remote '写新日志', :update => "content", :method => :get, :url => new_post_path %></li>
    <li><%= link_to_remote '增加栏目', :update => "content", :method => :get, :url => new_category_path %></li>
  </ul>
</div>
<div class="admin_tree">
  <div class="admin_tree_category">内容管理</div>
  <ul>
    <li><%= link_to_remote '分类管理', :update => "content", :method => :get, :url => categories_path %></li>
    <li><%= link_to_remote '日志管理', :update => "content", :method => :get, :url => posts_path %></li>
    <li><%= link_to_remote "评论管理", :update => "content", :method => :get, :url => comments_path %></li>
    <li><%= link_to_remote "会员管理", :update => "content", :method => :get, :url => users_path %></li>
    <li><%= link_to_remote "工具管理", :update => "content", :method => :get, :url => widgets_path %></li>
    <li><%= link_to_remote "链接管理", :update => "content", :method => :get, :url => friend_links_path %></li>
  </ul>
</div>
<div class="admin_tree">
  <div class="admin_tree_category">系统管理</div>
  <ul>
    <li><%= link_to_remote "日志管理", :update => "content", :method => :get, :url => {:controller => 'site', :action => 'log_admin'} %></li>
    <li><%= link_to_remote "重启站点", :update => "content", :method => :get, :url => {:controller => 'site', :action => 'restart'} %></li>
  </ul>
</div>
<div class="admin_tree">
  <div class="admin_tree_category">数据管理</div>
  <ul>
    <li><%= link_to_remote "数据库备份", :update => "content", :method => :get, :url => friend_links_path %></li>
    <li><%= link_to_remote "数据库恢复", :update => "content", :method => :get, :url => friend_links_path %></li>
    <li><%= link_to_remote "数据库优化", :update => "content", :method => :get, :url => friend_links_path %></li>
    <li><%= link_to_remote "运行SQL", :update => "content", :method => :get, :url => friend_links_path %></li>
  </ul>
</div>
